﻿#if UNITY_EDITOR
using UnityEditor;
/// <summary>
/// CSharp代码选择资源项
/// </summary>
public class ESF_CollectAsset_CSharp : AbsESF_EditorCollectAsset
{
    /// <summary>
    /// 构造函数
    /// </summary>
    /// <param name="_pathOrGuid">资源路径或guid</param>
    public ESF_CollectAsset_CSharp(string _pathOrGuid) : base(_pathOrGuid)
    {
        if (isFile)
        {
            monoImporter = path.ToAssetImporter<MonoImporter>();
        }
    }

    /// <summary>
    /// MonoImporter
    /// </summary>
    public MonoImporter monoImporter { get; private set; }
}
#endif
